<!DOCTYPE html>
<html lang="en" class="app">
<head>
    <meta charset="utf-8" />
    <title>无线公共支持综合网管理平台</title>
    <meta name="description" content="app, web app, responsive, admin dashboard, admin, flat, flat ui, ui kit, off screen nav" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
    <link rel="stylesheet" href="__ROOT__/Public/admin/css/bootstrap.css" type="text/css" />
    <link rel="stylesheet" href="__ROOT__/Public/admin/css/animate.css" type="text/css" />
    <link rel="stylesheet" href="__ROOT__/Public/admin/css/font-awesome.min.css" type="text/css" />
    <link rel="stylesheet" href="__ROOT__/Public/admin/css/icon.css" type="text/css" />
    <link rel="stylesheet" href="__ROOT__/Public/admin/css/font.css" type="text/css" />
    <link rel="stylesheet" href="__ROOT__/Public/admin/css/app.css" type="text/css" />
    <link rel="stylesheet" href="__ROOT__/Public/admin/js/datepicker/datepicker.css" type="text/css" />
    <link rel="stylesheet" href="__ROOT__/Public/admin/css/bianfeng.css" type="text/css" />
    <!--[if lt IE 9]>
    <script src="__ROOT__/Public/admin/js/ie/html5shiv.js"></script>
    <script src="__ROOT__/Public/admin/js/ie/respond.min.js"></script>
    <script src="__ROOT__/Public/admin/js/ie/excanvas.js"></script><![endif]-->
</head>
<body class="">
<section class="vbox">
    <include file="Public:header" />
    <section>
        <section class="hbox stretch">
            <aside class="bg-black aside-md hidden-print hidden-xs" id="nav">
                <include file="Public:left" />
            </aside>
            <section id="content">
                <section class="hbox stretch">
                    <aside>
                        <section class="vbox">
                           <!-- <header class="header bg-white b-b clearfix">
                                 <div class="row m-t-sm">
                                    <div class="col-sm-4 m-b-xs">
                                        <div class="btn-group">
                                            <a href="__APP__/{$Think.config.NAMESPACE}/User/AddUser" class="btn btn-sm btn-primary"><i class="fa fa-plus"></i> 添加用户</a>
                                        </div>
                                    </div>
                                     <div class="col-sm-8 m-b-xs">
                                        <div class="btn-group">
                                            <input type="text" class="input-sm form-control" placeholder="输入搜索内容">
                                        </div>
                                        
                                        <div class="btn-group">
                                            <button type="button" class="btn btn-sm btn-default dropdown-toggle select_btn" data-toggle="dropdown">
                                                <span>查看状态</span> <span class="caret"></span>
                                            </button>
                                            <ul class="dropdown-menu">
                                                <li><a href="#">审核</a></li>
                                                <li><a href="#">未审核</a></li>
                                            </ul>
                                        </div>
                                        <div class="btn-group">
                                            <button type="button" class="btn btn-sm btn-default dropdown-toggle select_btn" data-toggle="dropdown">
                                                <span>用户分类</span> <span class="caret"></span>
                                            </button>
                                            <ul class="dropdown-menu">
                                                <li><a href="#"><strong>前台</strong></a></li>
                                                <li><a href="#">游客</a></li>
                                                <li><a href="#">会员</a></li>
                                                <li class="divider"></li>
                                                <li><a href="#"><strong>后台</strong></a></li>
                                                <li><a href="#">站长</a></li>
                                                <li><a href="#">一级管理员</a></li>
                                                <li><a href="#">文章发布员</a></li>
                                            </ul>
                                        </div>
                                        <button class="btn btn-sm btn-default" type="button">搜索</button>
                                    </div> 
                                </div> 
                            </header> -->
                            <section class="scrollable wrapper w-f">
                                <section class="panel panel-default">
                                    <div class="table-responsive">
                                        <table class="table table-striped m-b-none">
                                            <thead>
                                            <tr>
                                                <th>附件ID</th>
                                                <th>所属文章</th>
                                                <th>附件名</th>
                                                <th>添加时间</th>
                                                <th width="150">操作</th>
                                            </tr>
                                            </thead>
                                            <tbody>
                                            <foreach name="annex_list" item="vo">
                                            <tr>
                                                <td>
                                                    <a href="#">{$vo.id}</a>
                                                </td>
                                                <td>{$vo.article_id|get_article_name}</td>
                                                <td>{$vo.file_name}</td>
                                                
                                                <td>{$vo.created_time}</td>
                                                <td>
                       
                                                    <a href="#radio_delete" class="m-sm del" data-toggle="modal" data-id="{$vo.id}"><i class="fa text-danger fa-trash-o"></i></a>
                                                </td>
                                            </tr>
                                           </foreach>
                                            </tbody>
                                        </table>
                                    </div>
                                </section>
                            </section>
                           <footer class="footer bg-white b-t">
                                <div class="row text-center-xs">
                                    <div class="col-md-12 col-sm-12 text-right text-center-xs text-center">
                                        <div class="pagination pagination-sm">
                                            {$page}
                                        </div>
                                    </div>
                                </div>
                            </footer>
                        </section>
                    </aside>
                </section>
                <a href="#" class="hide nav-off-screen-block" data-toggle="class:nav-off-screen,open" data-target="#nav,html"></a>
            </section>
        </section>
    </section>
</section>
<!-- 单个删除 -->
<form action="{:U('Admin/Article/AnnexDelete', '', false, true)}" method="post">
    <input type="hidden" id="radio_del" name="radio_del" />

    <div class="modal fade" id="radio_delete">
        <div class="modal-dialog modal-sm">
            <div class="alert alert-danger alert-dismissible fade in" role="alert">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">×</span></button>
                <h4>确定要删除当前信息吗？</h4>

                <p>删除以后无法恢复数据</p>

                <p>
                    <button type="submit" class="btn btn-danger">删除</button>
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                </p>
            </div>
        </div>
    </div>
</form>
<script src="__ROOT__/Public/admin/js/jquery.min.js"></script>
<!-- Bootstrap -->
<script src="__ROOT__/Public/admin/js/bootstrap.js"></script>
<!-- datepicker -->
<script src="__ROOT__/Public/admin/js/datepicker/bootstrap-datepicker.js"></script>
<!-- App -->
<script src="__ROOT__/Public/admin/js/bianfeng.js"></script>
<script src="__ROOT__/Public/admin/js/app.js"></script>
<script src="__ROOT__/Public/admin/js/slimscroll/jquery.slimscroll.min.js"></script>
<script src="__ROOT__/Public/admin/js/app.plugin.js"></script>
</body>
</html>